package com.blacksheep.mtm.dao;

import com.blacksheep.mtm.pojo.manager.TbIceIn;
import com.blacksheep.mtm.pojo.manager.TbIceInKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbIceInMapper {
    int deleteByPrimaryKey(TbIceInKey key);

    int insert(TbIceIn record);

    int insertSelective(TbIceIn record);

    TbIceIn selectByPrimaryKey(TbIceInKey key);

    int updateByPrimaryKeySelective(TbIceIn record);

    int updateByPrimaryKey(TbIceIn record);


    List<TbIceIn> selectList(@Param("search") String search, @Param("minDate") String minDate,
                              @Param("maxDate") String maxDate, @Param("orderCol") String orderCol,
                              @Param("orderDir") String orderDir);

    TbIceIn selectLastRecord(@Param("code")String code);


}